sched: get rid of the per domain vCPU list in Credit2
authorDario Faggioli <dario.faggioli@citrix.com>
Tue, 24 Nov 2015 13:50:30 +0000 (14:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 24 Nov 2015 13:50:30 +0000 (14:50 +0100)
commitcb6be0d5c7e9837154077e737e97e68849d1ab4c
tree2ecd2701c0ad14f7129282a91bfb4fd2d50c9645
parente6042257390500f445980d6b1c98aaa660741cc5
sched: get rid of the per domain vCPU list in Credit2

As, curently, there is no reason for bothering having
it and keeping it updated.

In fact, it is only used for dumping and changing
vCPUs parameters, but that can be achieved easily with
for_each_vcpu.

While there, improve alignment of comments, ad
add a const qualifier to a pointer, making things
more consistent with what happens everywhere else
in the source file.

This also allows us to kill one of the remaining
FIXMEs in the code, which is always good.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/common/sched_credit2.c